//
//  TarPipeOAuthDelegatedRequest.m
//  TarPhone
//
//  Created by Christopher Anderson on 22/03/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "TarPipeOAuthDelegatedRequest.h"


@implementation TarPipeOAuthDelegatedRequest

@synthesize delegate;

- (id) initWithDelegate:(NSObject<TarPipeRequestDelegate>*)inDelegate {
	self = [super init];
	if (self) {
		self.delegate = inDelegate;
	}
	return self;
}

- (void)methodLoadedFromURL:(NSURL *)inURL withResponseString:(NSString *)inString {
	NSLog(@"Returned from web service: %@", inString);
	[delegate requestDidCompleteWithUrl:inURL withResponseString:inString];
}

@end
